package com.scwatch.core.repository.plus;

import com.alibaba.fastjson.JSONObject;
import com.scwatch.common.orm.Limitable;
import com.scwatch.core.domain.Invite;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface InviteDaoPlus {

    List<Invite> findList(JSONObject json, Limitable limitable);

    Page<Invite> findPage(JSONObject json, Pageable pageable);

    void flushAndRefresh(Invite entity);
}
